package com.qhy.springcloud.service;

import com.qhy.springcloud.domain.CommonResult;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author qiuhongyu
 * @date 2020/12/8 10:03
 */
public interface StorageService {

    CommonResult decrease(@RequestParam("productId") Long productId,
                          @RequestParam("byNum") Integer byNum);
}
